package com.fr.report.web.ui.impl.write;

import com.fr.base.Inter;
import com.fr.report.web.ui.Icon;
import com.fr.report.web.ui.IconManager;
import com.fr.report.web.ui.ToolBarButton;
import com.fr.report.web.ui.WebContentUtils;
import com.fr.web.Repository;

public class DeleteColumnRow extends ToolBarButton
{
  public DeleteColumnRow()
  {
    super(Inter.getLocText("Utils-Delete_Column") + Inter.getLocText("Row"), IconManager.DELETECOLUMN.getName());
  }

  protected String clickAction(Repository paramRepository)
  {
    return WebContentUtils.getContentPanel(paramRepository) + ".deleteReportRC();";
  }
}